package com.neuedu.service;

import com.neuedu.entity.UmsUser;
import com.baomidou.mybatisplus.extension.service.IService;
import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 王禹
 * @since 2025-08-07
 */
public interface UmsUserService extends IService<UmsUser> {
    boolean check(String field, String value, Long id);
    boolean add(UmsUser umsUser, MultipartFile file, String password) throws ServerException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;
    /**
     * 登录功能已经切换到 UmsDoctorService中
     *
     * */
    @Deprecated
    String login(String username, String password);
}
